package com.dianning.web.action.dress;

import java.util.List;
import org.apache.commons.logging.*;

import com.dianning.service.ParameterService;
import com.dianning.web.action.BaseAction;

public class Index extends BaseAction{

	private static final Log logger = LogFactory.getLog(Index.class);
	
	private ParameterService parameterService;
	
	public ParameterService getParameterService() {
		return parameterService;
	}

	public void setParameterService(ParameterService parameterService) {
		this.parameterService = parameterService;
	}

	private List dressWomencoat;
	private List dressWomenbottom;
	private List dressMancoat;
	private List dressManbottom;
	private List dressGiven;
	private List dressMuying;
	private List dressChildren;
	private List dressUnderskirt;
	private List dressTrinket;
	private List dressBag;
	private List dressWomenshoes;
	private List dressManshoes;
	private List dressBling;
	private List dressOutdoor;
	private List dressStock;
	private List dressMeirong;
	private List dressZhubao;
	private List dressFitout;
	private List dressDaily;



	public List getDressWomencoat() {
		return dressWomencoat;
	}

	public void setDressWomencoat(List dressWomencoat) {
		this.dressWomencoat = dressWomencoat;
	}

	public List getDressWomenbottom() {
		return dressWomenbottom;
	}

	public void setDressWomenbottom(List dressWomenbottom) {
		this.dressWomenbottom = dressWomenbottom;
	}

	public List getDressMancoat() {
		return dressMancoat;
	}

	public void setDressMancoat(List dressMancoat) {
		this.dressMancoat = dressMancoat;
	}

	public List getDressManbottom() {
		return dressManbottom;
	}

	public void setDressManbottom(List dressManbottom) {
		this.dressManbottom = dressManbottom;
	}

	public List getDressGiven() {
		return dressGiven;
	}

	public void setDressGiven(List dressGiven) {
		this.dressGiven = dressGiven;
	}

	public List getDressMuying() {
		return dressMuying;
	}

	public void setDressMuying(List dressMuying) {
		this.dressMuying = dressMuying;
	}

	public List getDressChildren() {
		return dressChildren;
	}

	public void setDressChildren(List dressChildren) {
		this.dressChildren = dressChildren;
	}

	public List getDressUnderskirt() {
		return dressUnderskirt;
	}

	public void setDressUnderskirt(List dressUnderskirt) {
		this.dressUnderskirt = dressUnderskirt;
	}

	public List getDressTrinket() {
		return dressTrinket;
	}

	public void setDressTrinket(List dressTrinket) {
		this.dressTrinket = dressTrinket;
	}

	public List getDressBag() {
		return dressBag;
	}

	public void setDressBag(List dressBag) {
		this.dressBag = dressBag;
	}

	public List getDressWomenshoes() {
		return dressWomenshoes;
	}

	public void setDressWomenshoes(List dressWomenshoes) {
		this.dressWomenshoes = dressWomenshoes;
	}

	public List getDressManshoes() {
		return dressManshoes;
	}

	public void setDressManshoes(List dressManshoes) {
		this.dressManshoes = dressManshoes;
	}

	public List getDressBling() {
		return dressBling;
	}

	public void setDressBling(List dressBling) {
		this.dressBling = dressBling;
	}

	public List getDressOutdoor() {
		return dressOutdoor;
	}

	public void setDressOutdoor(List dressOutdoor) {
		this.dressOutdoor = dressOutdoor;
	}

	public List getDressStock() {
		return dressStock;
	}

	public void setDressStock(List dressStock) {
		this.dressStock = dressStock;
	}

	public List getDressMeirong() {
		return dressMeirong;
	}

	public void setDressMeirong(List dressMeirong) {
		this.dressMeirong = dressMeirong;
	}

	public List getDressZhubao() {
		return dressZhubao;
	}

	public void setDressZhubao(List dressZhubao) {
		this.dressZhubao = dressZhubao;
	}

	public List getDressFitout() {
		return dressFitout;
	}

	public void setDressFitout(List dressFitout) {
		this.dressFitout = dressFitout;
	}

	public List getDressDaily() {
		return dressDaily;
	}

	public void setDressDaily(List dressDaily) {
		this.dressDaily = dressDaily;
	}

	public String execute() {
		this.setDressWomencoat(this.getParameterService().findParameters("dressWomencoatType", 2, null,"orders", 0));
		this.setDressWomenbottom(this.getParameterService().findParameters("dressWomenbottomType", 2, null, "orders", 0));
		this.setDressMancoat(this.getParameterService().findParameters("dressMancoatType", 2, null, "orders", 0));
		this.setDressManbottom(this.getParameterService().findParameters("dressManbottomType", 2, null, "orders", 0));
		this.setDressGiven(this.getParameterService().findParameters("dressGivenType", 2, null, "orders", 0));
		this.setDressMuying(this.getParameterService().findParameters("dressMuyingType", 2, null, "orders", 0));
		this.setDressChildren(this.getParameterService().findParameters("dressChildrenType", 2, null, "orders", 0));
		this.setDressUnderskirt(this.getParameterService().findParameters("dressUnderskirtType", 2, null, "orders", 0));
		this.setDressTrinket(this.getParameterService().findParameters("dressTrinketType", 2, null, "orders", 0));
		this.setDressBag(this.getParameterService().findParameters("dressBagType", 2, null, "orders", 0));
		this.setDressWomenshoes(this.getParameterService().findParameters("dressWomenshoesType", 2, null, "orders", 0));
		this.setDressManshoes(this.getParameterService().findParameters("dressManshoesType", 2, null, "orders", 0));
		this.setDressBling(this.getParameterService().findParameters("dressBlingType", 2, null, "orders", 0));
		this.setDressOutdoor(this.getParameterService().findParameters("dressOutdoorType", 2, null, "orders", 0));
		this.setDressStock(this.getParameterService().findParameters("dressStockType", 2, null, "orders", 0));
		this.setDressMeirong(this.getParameterService().findParameters("dressMeirongType", 2, null, "orders", 0));
		this.setDressZhubao(this.getParameterService().findParameters("dressZhubaoType", 2, null, "orders", 0));
		this.setDressFitout(this.getParameterService().findParameters("dressFitoutType", 2, null, "orders", 0));
		this.setDressDaily(this.getParameterService().findParameters("dressDailyType", 2, null, "orders", 0));
		return SUCCESS;
	}
}
